package ca.etsmtl.log430.lab3;

public class Projet implements Comparable<Projet> {

	public String _noProjet;
	public String _statut;
	public String _systeme;
	public String _version;
	public String _taux;
	public String _etat;
	public String _description;
	
	public Projet(String noProjet, String statut,String systeme,String version,String taux,String etat,String description){
		this._noProjet = noProjet;
		this._statut = statut;
		this._systeme = systeme;
		this._version = version;	
		this._taux = taux;
		this._etat = etat;
		this._description = description;
	}
	@Override
	public int compareTo(Projet arg0) {
		return _etat.compareTo(arg0._etat);
	}
	@Override
	public String toString()
	{
		return _noProjet + " " + _statut + " " + _systeme + " " + _version + " " + _taux + " " + _etat + " " + _description + '\n';
	}
}
